[INFO] cloning repository https://github.com/xianhu/hello-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xianhu/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianhu%2Fhello-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianhu%2Fhello-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eaf4f04ded05f2b5de02f91969e9a1493becfc83
[INFO] checking xianhu/hello-rust against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianhu%2Fhello-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xianhu/hello-rust on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xianhu/hello-rust
[INFO] finished tweaking git repo https://github.com/xianhu/hello-rust
[INFO] tweaked toml for git repo https://github.com/xianhu/hello-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/xianhu/hello-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8b84e152b400c454e984f4c08890c3358177b332d3fed8930a76253129924c5
[INFO] running `Command { std: "docker" "start" "-a" "b8b84e152b400c454e984f4c08890c3358177b332d3fed8930a76253129924c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8b84e152b400c454e984f4c08890c3358177b332d3fed8930a76253129924c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8b84e152b400c454e984f4c08890c3358177b332d3fed8930a76253129924c5", kill_on_drop: false }`
[INFO] [stdout] b8b84e152b400c454e984f4c08890c3358177b332d3fed8930a76253129924c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0974b5058270083efbb2cd74010e8d1efe719b9f1e69870c9b500c791c1ec62
[INFO] running `Command { std: "docker" "start" "-a" "e0974b5058270083efbb2cd74010e8d1efe719b9f1e69870c9b500c791c1ec62", kill_on_drop: false }`
[INFO] [stderr]     Checking hello-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]    --> src/main.rs:561:5
[INFO] [stdout]     |
[INFO] [stdout] 561 | use std::f64::consts::PI;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]    --> src/main.rs:561:5
[INFO] [stdout]     |
[INFO] [stdout] 561 | use std::f64::consts::PI;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:578:5
[INFO] [stdout]     |
[INFO] [stdout] 577 |     panic!("error occured");
[INFO] [stdout]     |     ----------------------- any code following this expression is unreachable
[INFO] [stdout] 578 |     println!("Hello, Rust");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:578:5
[INFO] [stdout]     |
[INFO] [stdout] 577 |     panic!("error occured");
[INFO] [stdout]     |     ----------------------- any code following this expression is unreachable
[INFO] [stdout] 578 |     println!("Hello, Rust");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `T`
[INFO] [stdout]    --> src/main.rs:639:21
[INFO] [stdout]     |
[INFO] [stdout] 639 |         if array[i] > array[max_index] {
[INFO] [stdout]     |            -------- ^ ---------------- T
[INFO] [stdout]     |            |
[INFO] [stdout]     |            T
[INFO] [stdout]     |
[INFO] [stdout] help: consider restricting type parameter `T`
[INFO] [stdout]     |
[INFO] [stdout] 635 | fn max1<T: std::cmp::PartialOrd>(array: &[T]) -> T {
[INFO] [stdout]     |          ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `T`
[INFO] [stdout]    --> src/main.rs:639:21
[INFO] [stdout]     |
[INFO] [stdout] 639 |         if array[i] > array[max_index] {
[INFO] [stdout]     |            -------- ^ ---------------- T
[INFO] [stdout]     |            |
[INFO] [stdout]     |            T
[INFO] [stdout]     |
[INFO] [stdout] help: consider restricting type parameter `T`
[INFO] [stdout]     |
[INFO] [stdout] 635 | fn max1<T: std::cmp::PartialOrd>(array: &[T]) -> T {
[INFO] [stdout]     |          ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello-rust` (bin "hello-rust" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hello-rust` (bin "hello-rust") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e0974b5058270083efbb2cd74010e8d1efe719b9f1e69870c9b500c791c1ec62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0974b5058270083efbb2cd74010e8d1efe719b9f1e69870c9b500c791c1ec62", kill_on_drop: false }`
[INFO] [stdout] e0974b5058270083efbb2cd74010e8d1efe719b9f1e69870c9b500c791c1ec62
